dm: core: Display the error number when driver binding fails
authorSimon Glass <[email protected]>
Sun, 17 Jan 2016 23:11:06 +0000 (16:11 -0700)
committerBin Meng <[email protected]>
Sun, 24 Jan 2016 04:07:18 +0000 (12:07 +0800)
commitd062482b46b22d8c6b73ca69f2956282761981ce
tree6228aa8d758253c8cd0d1dd981edaca31916973f
parent0bdce0751b789dea287f30fce272215a4dcd0ed2
dm: core: Display the error number when driver binding fails

This is often -96 (-EPFNOSUPPORT) which indicates that the uclass is not
compiled in. Display the error number to make this easier to spot.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
drivers/core/lists.c